<!--calendar-->
<template>
  <Calendar :match-days="match" :cross-days="cross" @selectChange="a" />
</template>

<script lang="ts" setup>
import dayjs, { Dayjs } from 'dayjs'
import Calendar from '@/components/calendar/Calendar.vue'
function a(data) {
  console.log(data)
}
const match = [
  {
    time: dayjs(),
    value: {
      name: 'ldb',
      color: 'blue',
    },
  },
]
const cross = [
  {
    startTime: dayjs(),
    stopTime: dayjs().add(7, 'day'),
    name: '青年大学习(第三周)',
  },
  {
    startTime: dayjs(),
    stopTime: dayjs().add(7, 'day'),
    name: '期末考试',
  },
]
</script>

<style scoped lang="scss"></style>
